<?php


namespace BigVideo\Other\Strategy;


use BigVideo\Other\Strategy\Impl\FlyNoWay;

class BigYellowDuck extends Duck
{
    public function __construct()
    {
        $this->setFlyingStrategy(new FlyNoWay());
    }

    public function display()
    {
        echo "我是大黄鸭，很大的那种\n";
    }
}